package com.c1202m.gui;

import java.awt.BorderLayout;
import javax.swing.JPanel;
import org.jdesktop.swingx.JXCollapsiblePane;
import org.netbeans.lib.awtextra.AbsoluteLayout;

public class QuanTriController extends JPanel {

    private JXCollapsiblePane collapsiblePane; //swingX

    public QuanTriController() {
        creat();
    }

    private void creat() {
        setLayout(new BorderLayout());

        collapsiblePane = new JXCollapsiblePane();
        collapsiblePane.setAnimated(true);
        collapsiblePane.setCollapsed(true);
        add(collapsiblePane, BorderLayout.NORTH);
        collapsiblePane.setLayout(new AbsoluteLayout());
        BangQuanTri bangQuanTri = new BangQuanTri();
        add(bangQuanTri, BorderLayout.CENTER);
    }
}
